﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Administration_Login" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Login</title>
        <style type="text/css">
            body{background: #fff; font: menu;}
            .centered { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 300px; height: 220px;background: #fafafa; border: 1px solid #eeeeee; margin: auto;} 
            h1{font-size: 18pt;margin-top: 3px;margin-bottom: 3px;} 
            input[type="text"], input[type="password"]{padding: 3px;}
            input{margin: 0px;}
            br{clear: left;}
            .formLayout{padding: 10px;}
            .formLayout label, .formLayout input[type="text"],.formLayout input[type="password"]{display: block;width: 120px; float: left; margin-bottom: 10px;}
            .formLayout label{text-align: right; padding-right: 20px;}
            .submit {float: right;margin-right: 13px;} 
            .panel{width: 270px;text-align: right;}
            #btnLogin{margin: 0px;padding:0px;width: auto;}
        </style>
    </head>
<body>
    <form runat="server" id="loginForm">
        <div class="centered">
           <div class="formLayout">
                <h1>Login</h1>
                <asp:Literal runat="server" ID="litErr" />
                <small>Login to administration.</small><br /><br />
                <label>Username</label>
                <asp:TextBox runat="server" ID="txtUserName" /> <asp:RequiredFieldValidator runat="server" ID="l1" ControlToValidate="txtUserName" ErrorMessage="*" /><br />
                <label>Password</label>
                <asp:TextBox TextMode="Password" runat="server" ID="txtPassword" />  <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="txtPassword" ErrorMessage="*" /><br />
                <div class="panel"><asp:Button runat="server" ID="btnLogin" Text="Login" OnClick="LoginUser" /></div>
                <!--<br /><br />
                <u>Forgot my password</u>-->
            </div>
        </div>
    </form>
</body>
</html>

